package top.healthylife.gateway.platform.bj.api.api.tiantong;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.bj.api.util.BjHttpUtil;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.tiantong.custom3.req.BjReqPersonalMarkEye21CustomThreeV1Dto;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.tiantong.custom3.res.BjResPersonalMarkEye21CustomThreeV1Dto;

/**
 * @author : GaoZeXi
 * @date 2021/7/14 9:50
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20,apiName = "个人评分-天瞳定制3", info = "冰鉴个人评分平台 天瞳定制3 API 接口。")
public class PersonalMarkEye21CustomThreeV1Api implements ParentFace<BjReqPersonalMarkEye21CustomThreeV1Dto, BjResPersonalMarkEye21CustomThreeV1Dto> {
    static final String URL = "/person-ds/credit/ConsumerRepaymentScore2021";
    @Override
    public BjResPersonalMarkEye21CustomThreeV1Dto execute(BjReqPersonalMarkEye21CustomThreeV1Dto dto){
        return BjHttpUtil.httpRequest(dto,URL,BjResPersonalMarkEye21CustomThreeV1Dto.class);
    }
}
